package com.gzz.orchid.context.infrastructure.persistence.entity.bid;

import com.gzz.orchid.context.infrastructure.persistence.AbstractPojo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 投标项目 bid_project
 *
 * @author higmd
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BidProjectPo extends AbstractPojo {
    private Long id;
    /**
     * 标的标题 title
     */
    private String title;
    /**
     * 关键字 keywords
     */
    private String keywords;
    /**
     * 描述 description
     */
    private String description;
    /**
     * 标的图片 thumb
     */
    private String thumb;
    /**
     * 担保金额 surety_amount
     */
    private BigDecimal suretyAmount;
    /**
     * 起拍价 start_price
     */
    private BigDecimal startPrice;
    /**
     * 加价幅度 markup_range
     */
    private BigDecimal markupRange;
    /**
     * 竞拍开始时间 bid_start_at
     */
    private LocalDateTime bidStartAt;
    /**
     * 竞拍结束时间 bid_end_at
     */
    private LocalDateTime bidEndAt;
    /**
     * 延时周期 delay_period
     */
    private Integer delayPeriod;
    /**
     * 投标结束时间 offer_end_at
     */
    private Integer idx;
    /**
     * 状态 status
     */
    private Integer status;

}
